import 'package:dio_log/http_log_list_widget.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'log_logic.dart';

/// <summary>
/// todo: 网络请求日志
/// author：zwb
/// dateTime：2021/9/2 15:04
/// filePath：lib/page/log/log_view.dart
/// desc:
/// <summary>
///
class LogPage extends StatefulWidget {
  @override
  _LogPageState createState() => _LogPageState();
}

class _LogPageState extends State<LogPage> {
  final LogLogic logic = Get.put(LogLogic());

  @override
    Widget build(BuildContext context) {
      return HttpLogListWidget();
    }

  @override
  void dispose() {
    Get.delete<LogLogic>();
    super.dispose();
  }
}